package com.igeek.boot.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @package com.igeek.boot.entity
 * @Description 用户类
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/12/6 19:50
 */
//@Component
@Data
public class User {
    private Integer id;
    private String name;
    private String pwd;
    private Integer age;

    public User(String name, String pwd) {
        this.name = name;
        this.pwd = pwd;
    }
}
